package drds.global_transaction.api.rpc.rpc_client.server_addresss_look_up_service;

public interface GlobalTransactionServiceGroupAddressManager
{
	String[] lookup(String globalTransactionServiceGroup);

	/**
	 * @param globalTransactionServiceGroup 一个服务器一个全局事务协调器
	 */
	void register(String globalTransactionServiceGroup, String address);

	void unregister(String globalTransactionServiceGroup, String address);

	void watch(String globalTransactionServiceGroup, AddressWatcher addressWatcher);
}
